<%-- 
    Document   : editarAluno
    Created on : 28/09/2012, 00:00:57
    Author     : Natan
--%>
<%  String usuariolog = (String)session.getAttribute("usuario");
	if(usuariolog != null){
%>
<%@page language="java" contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link  href="css/geral.css" rel="stylesheet" type="text/css" />
        <link rel="shortcut icon" href="favicon.ico" />
    </head>
    <body>
        <div id="tudo">
            
            <div id="cabecalho">
                
            </div>
            
            <div id="menu">
                <jsp:include page="menuprincipal.jsp"></jsp:include>
            </div>
                  
            <div id="principal">
                <form action="manterAluno.jsp" method="post">
                    <table align="center">
                        <thead>
                            <tr>
                                <th>ID</th>
                                <th>Nome</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td> 
                                    <input type="hidden" name="id" value="<%=request.getParameter("id")%>"/> 
                                </td>
                                <td>
                                    <input type="text" name="nome" value="<%=request.getParameter("nome")%>"/>
                                </td>
                                <input type="hidden" name="ac" value="atualizar"/>
                            </tr>
                        </tbody>
                    </table>
                                
                                <table border="0" align="center">
                                    <tbody>
                                        <tr>
                                            <td><input type="submit" value="Atualizar" /></td>
                                        </tr>
                                    </tbody>
                                </table>

               </form>
           </div>
        </div>             
    </body>
</html>

<% }else{
	request.getRequestDispatcher("index.jsp").forward(request, response);
};%>